package com.xmg.shop.api.domain;

import lombok.Getter;
import lombok.Setter;

import java.util.Date;

@Setter@Getter
public class Catalog extends BaseDomain {
    public static final byte NO_PARENT=0;//不是父类
    public static final byte IS_PARENT=1;//父类
    private Date createDate;

    private Date lastModifiedDate;

    private int version;

    private Integer level;

    private String name;

    private String code;

    private Integer sequence;

    private Integer childrenCatalogs;

    private Integer products;

    private Long parentCatalogId;

    private Byte isParent;
}